WP_DataSync\App\DataSync D

Total Complexity 145
Dependencies 4
Dependents 2
Total lines 1,473
Lines of code 575
Logical lines of code 289
Comment lines 454
Methods 57
Properties 15

Methods 57

Method Rating Maintainability Complexity Lines of code
attachment()
A
41 10 56
process()
A
49 10 35
set_term()
S
49 7 29
taxonomy()
S
52 7 24
file_type()
S
53 6 23
maybe_trash_post()
S
60 6 13
term_meta()
S
60 6 13
fetch_post_id()
S
53 5 25
set_post_id()
S
60 4 14
post_meta()
S
59 4 14
term_exists()
S
52 3 27
update_date()
S
56 3 19
attachment_exists()
S
59 3 16
post_data()
S
59 3 15
insert_post_row()
S
61 3 13
post_data_apply_filters()
S
62 3 11
insert_placeholder()
S
62 3 11
term_thumb()
S
64 3 10
attachment_id()
S
66 3 9
term_desc()
S
64 3 10
post_data_defaults()
S
66 3 8
set_properties()
S
69 3 7
image()
S
62 2 12
reset_term_taxonomy_count()
S
61 1 17
post_data_keys()
S
59 1 16
integrations()
S
72 2 5
instance()
S
71 2 6
get_post_type()
S
78 2 3
file_path()
S
70 2 6
ssl_verify()
S
72 2 6
fetch_image_data()
S
66 2 8
is_valid_image_url()
S
68 2 7
featured_image()
S
70 2 6
restricted_meta_keys()
S
65 1 10
basename()
S
74 1 4
set_post_data()
S
81 1 3
set_featured_image()
S
81 1 3
set_post_meta()
S
81 1 3
set_taxonomies()
S
81 1 3
get_gallery_images()
S
82 1 3
set_order_items()
S
81 1 3
set_attachment()
S
81 1 3
get_attachment()
S
82 1 3
get_is_new()
S
82 1 3
get_primary_id()
S
82 1 3
get_post_id()
S
82 1 3
post_meta_value()
S
73 1 4
post_meta_key()
S
78 1 3
get_post_data()
S
82 1 3
get_post_meta()
S
82 1 3
get_taxonomies()
S
82 1 3
get_featured_image()
S
82 1 3
get_attributes()
S
82 1 3
get_variations()
S
82 1 3
get_integrations()
S
82 1 3
get_order_items()
S
82 1 3
__construct()
S
80 1 3